package com.jdz.gxq.info.admin.economic.service;

import java.util.List;
import java.util.Map;

import com.jdz.gxq.info.admin.economic.bo.Economic;

public interface EconomicService {
	
	/**
	 * Economic检索分页用，查询记录条数
	 * @return
	 */
	public int getEconomicsCount(String economicName);
	
	/**
	 * Economic检索
	 * @return
	 */
	public List<Economic> getEconomics(Map<String, Object> params);
	
	/**
	 * 追加Economic
	 * @param Economic
	 */
	public void insertEconomic(Economic economic);
	
	/**
	 * 更新Economic
	 * @param Economic
	 */
	public void updateEconomic(Economic economic);
	
	/**
	 * 通过id得到Economic
	 * @param id
	 * @return
	 */
	public Economic getEconomicById(int economicId);
	
	/**
	 * 删除Economic
	 * @param Economic
	 */
	public void deleteEconomic(int economicId);

}
